package com.hyst.domain;

import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.springframework.format.annotation.DateTimeFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* 上课时间表--保留基础数据实体
*/
@Data
@ApiModel(value = "上课时间表--保留基础数据", description = "")

public class Period {
	

	@Id
	@ApiModelProperty(value = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@ApiModelProperty(value = "name")
	private String name;

	@ApiModelProperty(value = "周一")
	private Integer mon;

	@ApiModelProperty(value = "周二")
	private Integer tue;

	@ApiModelProperty(value = "周三")
	private Integer wed;

	@ApiModelProperty(value = "周四")
	private Integer thu;

	@ApiModelProperty(value = "周五")
	private Integer fri;

	@ApiModelProperty(value = "周六")
	private Integer sat;

	@ApiModelProperty(value = "周日")
	private Integer sun;

	// 排序方式
	@Transient
	private String sort = "DESC";

	@Transient
	private int pageNum = 1;

	@Transient
	private int pageSize = Integer.MAX_VALUE;
}
